package video;

import com.feign.CommonFeignClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = "video.com.mapper")
@EnableFeignClients(clients = {CommonFeignClient.class})
@EnableCaching
@EnableScheduling
public class VideoStarter {
    public static void main(String[] args) {
        SpringApplication.run(VideoStarter.class,args);
    }
}
